package com.xsw.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 高德地图API相关配置
 *
 * @author yjc
 */
@Component
@ConfigurationProperties(prefix = "amap.restapi.parameters")
public class AmapConfig {

    private String key;

    private String radius;

    private String extensions;

    private String roadlevel;

    public String getKey() {
        return key;
    }

    public String getRadius() {
        return radius;
    }

    public String getExtensions() {
        return extensions;
    }

    public String getRoadlevel() {
        return roadlevel;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public void setRadius(String radius) {
        this.radius = radius;
    }

    public void setExtensions(String extensions) {
        this.extensions = extensions;
    }

    public void setRoadlevel(String roadlevel) {
        this.roadlevel = roadlevel;
    }
}
